package com.tuo51.childcare.controller;


import com.tuo51.childcare.service.BizStoreItemService;
import com.tuo51.foudation.model.MemVerificationCache;
import com.tuo51.foudation.model.StatusResponse;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;


/**
 * 新手指引
 */

@RequestMapping("/papi/msgbox")
@RestController
@Api(value = "/papi/msgbox", tags = "家长服务号 - 收件箱")
public class PAPIMsgBoxController {

    @Autowired
    BizStoreItemService storeItemService;

    @Autowired
    MemVerificationCache cache;

    @RequestMapping(value = "/latest_unread", method = RequestMethod.GET)
    public StatusResponse latestUnread(@RequestHeader(value = "ticket", required = false) String ticket) {

        //获取对应对象的tags
        return StatusResponse.success();
    }

    @RequestMapping(value = "/mark_as_read", method = RequestMethod.GET)
    public StatusResponse markAsRead(@RequestHeader(value = "ticket", required = false) String ticket, String msgId) {

        //获取对应对象的tags
        return StatusResponse.success();
    }
}
